package com.znow.admin.system.security.enums;

import com.znow.common.enums.BaseEnum;

/**
 * 返回值枚举
 *
 * @author Nemo
 * @date 2022/07/26
 */
public enum DeleteEnums implements BaseEnum {

    /**
     * 服务器返回成功
     */
    DELETE(1, "删除"),

    /**
     * 服务器错误
     */
    NOT_DELETE(0, "未删除"),

    ;

    private int code;

    private String name;

    DeleteEnums(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
